package com.ethink.system.api.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;
import java.util.List;

/**
 * 系统用户表 更新请求对象
 *
 * @author default
 * @date 2022-09-26
 */
@Data
public class SystemUserUpdateRequest {

    @Schema(description ="主键")
    private Long id;

    @Schema(description ="真实姓名")
    private String realName;

    @Schema(description ="手机号")
    private String mobileNo;

    @Schema(description ="邮箱")
    private String email;

    @Schema(description ="uid")
    private String uid;

    @Schema(description ="员工工号")
    private String jobNumber;

    @Schema(description ="枚举 用户状态: 1-启用(enable) | 0-禁用(disable)")
    private Integer enabled;

    @Schema(description ="枚举 用户类型: 1-管理员(manager) |2-普通用户(general)")
    private Integer userType;

    @NotEmpty
    @Schema(description = "角色Ids")
    private List<Long> roleIds;
}
